package com.aiit.pojo.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Task {
    private int id;
    private String title;
    private String task;
    private String type;
    private String request;
    private Date create_time;
    private Date finish_time;

    private String createTime;
    private String finishTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getTask() {
        return task;
    }

    public void setTask(String task) {
        this.task = task;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRequest() {
        return request;
    }

    public void setRequest(String request) {
        this.request = request;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getFinish_time() {
        return finish_time;
    }

    public void setFinish_time(Date finish_time) {
        this.finish_time = finish_time;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }

    public Task() {
    }


    public Task(String title, String task, String type, String request, String createTime, String finishTime) {
        this.title = title;
        this.task = task;
        this.type = type;
        this.request = request;
        this.createTime = createTime;
        this.finishTime = finishTime;
    }

    @Override
    public String toString() {
        return "Task{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", task='" + task + '\'' +
                ", type='" + type + '\'' +
                ", request='" + request + '\'' +
                ", create_time=" + create_time +
                ", finish_time=" + finish_time +
                ", createTime='" + createTime + '\'' +
                ", finishTime='" + finishTime + '\'' +
                '}';
    }
}
